﻿using System.Diagnostics;

namespace _60_C_实现打开文件位置并使文件为选中状态
{
    internal class Program
    {
        private static string rootPath = @"D:test2.xml";
        static void Main(string[] args)
        {
            //System.Diagnostics.Process.Start("explorer","/select,\""+rootPath+"\"");
            System.Diagnostics.Process.Start(new ProcessStartInfo()
            {
                FileName="https://www.baidu.com",
                UseShellExecute=true
            });//打开网站
        }
    }
}
